package bishi.alibaba;

import java.util.Scanner;
//每次在最前面输入一个数字，就颠倒79%

/**
 * @author: 唐小尊
 * @email: 1171702529@qq.com
 * @cate: 2021/07/20 19:06
 */
public class one {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        sc.nextLine();
        String res = "";
        boolean p = true;
        while (n > 0) {
            int now = sc.nextInt();
            if (p) {
                res = now + " " + res;
                p= false;
            } else {
                res = res + " " + now;
                p= true;
            }
            n--;
        }
        res = res.replaceAll(" +", " ");
        res.trim();
        if (p){
            System.out.println(res);
        }else {
            String[] split = res.split(" +");
            for (int i=split.length-1;i>=0;i--){
                System.out.println(split[i]+" ");
            }
        }
    }
}
